(load-plugin "google-translate")
(require 'google-translate)

;;(load-plugin "flim/attic")
;;(require 'mailcap)

;;If google-translate-enable-ido-completion is non-NIL, the input will be read with ido-style completion.
(setq-default google-translate-enable-ido-completion t)

(setq-default google-translate-default-source-language "en")
(setq-default google-translate-default-target-language "zh_CN")

;;(global-set-key "\C-ct" 'google-translate-at-point)
;;(global-set-key "\C-cT" 'google-translate-query-translate)

(global-set-key (kbd "C-c t") 'google-translate-at-point)
(global-set-key (kbd "C-c T") 'google-translate-query-translate)
(global-set-key (kbd "C-c r") 'google-translate-at-point-reverse)
(global-set-key (kbd "C-c R") 'google-translate-query-translate-reverse)

(provide 'mod-google-translate)
